/**
 * 
 */
package botactions;

import bot.IRCBot;

/**
 * @author Philip
 *
 */
public class NickNameAlreadyInUseAction implements IRCServerTypeAction {

	@Override
	public void execute(IRCBot bot, String line) {
		if (line.contains("*")) {
			bot.write("NICK " + bot.getNickName() + "_");
			bot.setNickName(bot.getNickName() + "_");
		}
	}
}